From: Keir Fraser Date: Wed, 5 Aug 2009 11:06:24 +0000 (+0100) Subject: xm-test block-create: use ext3 as filesystem X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~13527 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success//%22http:/www.example.com/cgi/success/?a=commitdiff_plain;h=efc6741a48af59f6425ad6aeb7d9188a889dad3c;p=xen.git xm-test block-create: use ext3 as filesystem The current implementation uses ext2 for tests. The tests currently fail, because the current kernel does not support ext2 by default. This patch creates an ext3 filesystem for the tests. Signed-off-by: Andreas Florath --- diff --git a/tools/xm-test/tests/block-create/09_block_attach_and_dettach_device_check_data_pos.py b/tools/xm-test/tests/block-create/09_block_attach_and_dettach_device_check_data_pos.py index b97b70c499..9ac635ac0f 100644 --- a/tools/xm-test/tests/block-create/09_block_attach_and_dettach_device_check_data_pos.py +++ b/tools/xm-test/tests/block-create/09_block_attach_and_dettach_device_check_data_pos.py @@ -1,7 +1,9 @@ #!/usr/bin/python # Copyright (C) International Business Machines Corp., 2005 -# Author: Murillo F. Bernardes +# Copyright (C) flonatel GmbH & Co. KG, 2009 +# Authors: Murillo F. Bernardes +# Andreas Florath import re @@ -30,7 +32,7 @@ except ConsoleError, e: saveLog(console.getHistory()) FAIL(str(e)) -s, o = traceCommand("mke2fs -q -F /dev/ram1") +s, o = traceCommand("mke2fs -j -q -F /dev/ram1") if s != 0: FAIL("mke2fs returned %i != 0" % s)